Skip to main content

mcpTool

MCPTool Model​

Represents a configured MCP tool with its parameters, server association, and display settings.


id (integer, ReadOnly)​

Unique identifier for the MCP tool. Automatically assigned by the system.


name (string) Required​

Name of the tool. Minimum 1 character.


description (string) Required​

Description of the tool. Minimum 1 character.


created_at (string, date-time, ReadOnly)​

Timestamp when the tool was created. Automatically set by the system.


updated_at (string, date-time, ReadOnly)​

Timestamp when the tool was last updated. Automatically maintained by the system.


show_tool_message (boolean, Optional)​

Whether to show tool messages in the interface.


show_assistant_message (boolean, Optional)​

Whether to show assistant messages.


edit_available (boolean, Optional)​

Whether this tool can be edited by users.


portal_available (boolean, Optional)​

Whether this tool will be shown in the portal.


server (object, Optional)​

Associated MCP server configuration. References MCPServer model.


server_id (integer, Optional)​

ID of the associated server.


parameters (array[Parameter], ReadOnly)​

Tool parameters configuration. Automatically managed from the MCP server tool schema.


selected_tools (array[string], Optional)​

List of tool names to create or synchronize. Each tool name must have minimum 1 character.


Example​

{
"id": 0,
"name": "string",
"description": "string",
"created_at": "2025-05-28T12:34:00.601Z",
"updated_at": "2025-05-28T12:34:00.601Z",
"show_tool_message": true,
"show_assistant_message": true,
"edit_available": true,
"portal_available": true,
"server": {
"id": 0,
"name": "string",
"description": "string",
"url": "string",
"headers": {
"Authorization": null
},
"protocol_version": "string",
"client_name": "string",
"client_version": "string",
"active": true,
"auth_type": "headers",
"oauth_config": {},
"created_at": "2025-05-28T12:34:00.601Z",
"updated_at": "2025-05-28T12:34:00.601Z"
},
"server_id": 0,
"parameters": [
{
"id": 0,
"name": "query",
"description": "Search query",
"type": "string",
"items": null,
"required": true
}
],
"selected_tools": [
"string"
]
}